﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LPY.LeHealth.DTO;
using LPY.LeHealth.DAL;

namespace LPY.LeHealth.WebSite.Controllers
{
    public class subscribekongController : Controller
    {

        makeDAL dal = new makeDAL();
        // GET: subscribekong
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult subscribe()
        {
            return View();
        }
        
        
        /// <summary>
        /// 热门推荐显示
        /// </summary>
        /// <returns></returns>
        public JsonResult remen()
        {
            List<recommen> list = dal.remen();
            return Json(list, JsonRequestBehavior.AllowGet);
        }
    }
}